package cn.sumpu.app.guoguojie.dao;

import java.util.List;
import java.util.Map;

import cn.sumpu.app.guoguojie.domain.Comment;
import cn.sumpu.app.guoguojie.domain.Ext.CommentExt;
import cn.sumpu.app.guoguojie.exception.AppBusinessException;

public interface CommentDao {
	public void insert(Comment comment) throws AppBusinessException;

	public List<CommentExt> getCommentList(Map<String, Object> map)
			throws AppBusinessException;

	public void updateComment(Comment comment) throws AppBusinessException;

	public void deleteCommentById(String id) throws AppBusinessException;

	public Comment getCommentById(String id) throws AppBusinessException;

	public List<CommentExt> getFeedCommentExtList(Map <String, Object> map)
			throws AppBusinessException;
	public int getCommentCountList(String commentId)throws AppBusinessException;
}
